package com.lzc.jobrecomendbackend.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

@Data
@Document(collection = "users")
public class User {
    @Id
    private String id;
    private String username;
    private String password;
    private String email;
    private String realName;
    private Integer age;
    private String gender; // 性别
    private String education; // 学历
    private String major; // 专业
    private Integer experience; // 工作经验（年）
    private List<String> skills; // 技能列表
    private String preferredCity; // 期望工作城市
    private String preferredPosition; // 期望职位
    private String avatar; // 用户头像URL
    private Date createTime;
    private Date updateTime;
} 